#作业2 打印1000以内斐波那契数列
# 1,1,2,3,5

numberA,numberB = 0,1
while numberA < 1000:
    print(numberA,end='\n')
    numberA,numberB = numberB,numberA+numberB
